from enums import CodedEnum, DictEnum


@DictEnum(key="sys_menu_open_type", name="菜单打开方式")
class MenuOpenTypeEnum(CodedEnum):
    """
    菜单打开方式
    """

    NONE = (0, "无")
    COMPONENT = (1, "组件")
    IFRAME = (2, "内部链接")
    LINK = (3, "外部链接")
